package com.cleaningcloud.erp.domain.vo;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.erp.domain.ErpSaleReturn;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ErpSaleReturnVo extends ErpSaleReturn {

    // 客户名称
    @Excel(name = "客户名称", sort = 3)
    private String customerName;
    // 客户负责人
    private String linkman;
    // 负责人联系电话
    private String linkmanPhone;
    // 仓库负责人
    @Excel(name = "负责人", sort = 4)
    private String nickName;
    // 销售人
    @Excel(name = "销售人", sort = 5)
    private String salePersonName;
    // 销售人联系电话
    private String salePersonPhone;
    // 客户地址
    private String address;
    // 仓库名称
    @Excel(name = "入库仓库", sort = 6)
    private String wareName;
    // 退换货数量
    @Excel(name = "退换货数量", sort = 7)
    private int outNumber;
    // 收付款方式
    private String payType;
    // 退换货明细表
    private List<ErpReturnDetailsVo> detailsList;
    // 销售时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date saleTime;

}
